import { defHttp } from '/@/utils/http/axios';


// 商务管理->统计
enum Api {

  homeSummary = '/summary/homeSummary', //首页统计
  projectSummary = '/summary/projectSummary', //项目统计
  capitalSummary = '/summary/capitalSummary', //财务统计

}

export const homeSummary = (params) => {
  return defHttp.post<any>({ url: Api.homeSummary, params });
};


export const projectSummary = (params) => {
  return defHttp.post<any>({ url: Api.projectSummary, params });
};

export const capitalSummary = (params) => {
  return defHttp.post<any>({ url: Api.capitalSummary, params });
};


